package com.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * CategoryVO entity.
 * 
 * @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Category implements java.io.Serializable {

	// Fields

	private Long categoryId;
	private String categoryname;
	private Integer markfordelete;
	private Date lastupdate;
	private String description;
	private String thumbnail;
	private String fullimage;
	private Integer istop;
	private Long categoryIdParent;
	@SuppressWarnings("unchecked")
	private Set products = new HashSet(0);

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** minimal constructor */
	public Category(String categoryname, Integer istop) {
		this.categoryname = categoryname;
		this.istop = istop;
	}

	/** full constructor */
	@SuppressWarnings("unchecked")
	public Category(String categoryname, Integer markfordelete,
			Date lastupdate, String description, String thumbnail,
			String fullimage, Integer istop, Long categoryIdParent, Set products) {
		this.categoryname = categoryname;
		this.markfordelete = markfordelete;
		this.lastupdate = lastupdate;
		this.description = description;
		this.thumbnail = thumbnail;
		this.fullimage = fullimage;
		this.istop = istop;
		this.categoryIdParent = categoryIdParent;
		this.products = products;
	}

	// Property accessors

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryname() {
		return this.categoryname;
	}

	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}

	public Integer getMarkfordelete() {
		return this.markfordelete;
	}

	public void setMarkfordelete(Integer markfordelete) {
		this.markfordelete = markfordelete;
	}

	public Date getLastupdate() {
		return this.lastupdate;
	}

	public void setLastupdate(Date lastupdate) {
		this.lastupdate = lastupdate;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getThumbnail() {
		return this.thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getFullimage() {
		return this.fullimage;
	}

	public void setFullimage(String fullimage) {
		this.fullimage = fullimage;
	}

	public Integer getIstop() {
		return this.istop;
	}

	public void setIstop(Integer istop) {
		this.istop = istop;
	}

	public Long getCategoryIdParent() {
		return this.categoryIdParent;
	}

	public void setCategoryIdParent(Long categoryIdParent) {
		this.categoryIdParent = categoryIdParent;
	}

	@SuppressWarnings("unchecked")
	public Set getProducts() {
		return this.products;
	}

	@SuppressWarnings("unchecked")
	public void setProducts(Set products) {
		this.products = products;
	}

}